Crate glib_macros[][src]

Macros

Macro for passing variables as strong or weak references into a closure.

Attribute Macros

Attribute macro for defining flags using the bitflags crate. This macro will also define a GFlags::type_ function and the glib::Value traits.

Macro for boilerplate of ObjectInterface implementations.

Macro for boilerplate of ObjectSubclass implementations.

Derive Macros

Macro for deriving implementations of glib::clone::Downgrade and glib::clone::Upgrade traits and a weak type.

Derive macro for defining a BoxedType::type_ function and the glib::Value traits.

Derive macro for defining a GLib error domain and its associated ErrorDomain trait.

Derive macro for defining a SharedType::get_type function and the glib::Value traits.